package com.example.communist_app_api.service;

import com.example.communist_app_api.db.dto.PermissionDTO;
import com.example.communist_app_api.db.pojoDto.Permission;
import com.example.communist_app_api.vo.web.req.MenuCreateReq;
import com.example.communist_app_api.vo.web.req.MenuDeleteMenuMessageReq;
import com.example.communist_app_api.vo.web.req.MenuUpdateMessageReq;

import java.util.List;

public interface PermissionService {
    Permission getPermissionByPermissionId(Integer permissionId);

    List<PermissionDTO> getPermissionMenuList(Integer roleId);

    List<PermissionDTO> getMenuList();

    Boolean createNextFloor(MenuCreateReq req);

    Boolean updateMenuMessage(MenuUpdateMessageReq req);

    Boolean deleteMenuMessage(MenuDeleteMenuMessageReq req);
}
